<?php
// +----------------------------------------------------------------------
// | CatchAdmin [Just Like ～ ]
// +----------------------------------------------------------------------
// | Copyright (c) 2017~{$year} http://catchadmin.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt )
// +----------------------------------------------------------------------
// | Author: JaguarJack [ njphper@gmail.com ]
// +----------------------------------------------------------------------

// you should use `$router`
/* @var think\Route $router */

$router->group(function () use ($router) {
    $router->resource('DiseasePath', \catchAdmin\diseasepath\controller\DiseasePath::class);
    $router->post('BindDiseasePath', "\catchAdmin\diseasepath\controller\DiseasePath@bindDiseasePath");
    $router->post('UnBind', "\catchAdmin\diseasepath\controller\DiseasePath@unBind");
    $router->any('GetTaskDetail', "\catchAdmin\diseasepath\controller\DiseasePath@getTaskDetail");
    $router->any('GetPatientDisease', "\catchAdmin\diseasepath\controller\DiseasePath@getPatientDisease");
    $router->get("SolutionCenter", "\catchAdmin\diseasepath\controller\SolutionCenter@index");
    $router->any("ProcessingList", "\catchAdmin\diseasepath\controller\SolutionCenter@processingList");
    $router->any("CalcDiseasePlan", "\catchAdmin\diseasepath\controller\DiseasePath@calcDiseasePlan");
    $router->any("SchemeDetails", "\catchAdmin\diseasepath\controller\DiseasePath@schemeDetails");
    $router->any("ModifyRemark", "\catchAdmin\diseasepath\controller\SolutionCenter@ModifyRemark");
    $router->any("GetDiseasePatient", "\catchAdmin\diseasepath\controller\DiseasePath@getDiseasePatient");
    $router->post("CloseCase", "\catchAdmin\diseasepath\controller\DiseasePath@closeCase");
    $router->post("SetStartPoint", "\catchAdmin\diseasepath\controller\DiseasePath@setStartPoint");
    $router->post("SetRemarkByPoint", "\catchAdmin\diseasepath\controller\DiseasePath@setRemarkByPoint");
    $router->post("StopPoint", "\catchAdmin\diseasepath\controller\DiseasePath@stopPoint");
})->middleware('auth');

